package com.hzsoft.base.entity;


public class DwzJSON {
	public static final String STATUS_CODE_SUCCESS = "200";
	public static final String STATUS_CODE_ERROR = "300";
	public static final String STATUS_CODE_TIMEOUT = "301";
	public static final String CALLBACK_TYPE_CLOSECURRENT = "closeCurrent";
	public static final String CALLBACK_TYPE_FORWARD = "forward";
	
	private String statusCode = STATUS_CODE_SUCCESS;  //200 表示操作成功, 300 表示操作失败,301 超时 
	private String message = "操作成功";  //提示框中的提示信息
	private String navTabId;  //为navtab的ID值，后续可以用来重载该页面时使用，如当前页新增或删除数据可以通过该ID进行通知JS重载
	private String rel;  
	private String callbackType = CALLBACK_TYPE_CLOSECURRENT; // callbackType如果是closeCurrent就会关闭当前tab
	private String forwardUrl; // callbackType="forward"时需要forwardUrl值
	private String customMessage1; //对dwz进行扩展时可以传递自定义的一些信息
	private String customMessage2; //对dwz进行扩展时可以传递自定义的一些信息

	public String getStatusCode() {
		return statusCode;
	}

	public void setStatusCode(String statusCode) {
		this.statusCode = statusCode;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getNavTabId() {
		return navTabId;
	}

	public void setNavTabId(String navTabId) {
		this.navTabId = navTabId;
	}

	public String getRel() {
		return rel;
	}

	public void setRel(String rel) {
		this.rel = rel;
	}

	public String getCallbackType() {
		return callbackType;
	}

	public void setCallbackType(String callbackType) {
		this.callbackType = callbackType;
	}

	public String getForwardUrl() {
		return forwardUrl;
	}

	public void setForwardUrl(String forwardUrl) {
		this.forwardUrl = forwardUrl;
	}

	public String getCustomMessage1() {
		return customMessage1;
	}

	public void setCustomMessage1(String customMessage1) {
		this.customMessage1 = customMessage1;
	}

	public String getCustomMessage2() {
		return customMessage2;
	}

	public void setCustomMessage2(String customMessage2) {
		this.customMessage2 = customMessage2;
	}

}
